package hussein.musicstore.model;
import java.util.ArrayList;
import java.util.Iterator;

public class Album
{
	private ArrayList<Song> songs = new ArrayList<Song>();
	private String m_name;
	private String m_bandName;

	public Album(String name, String bandName)
	{
		m_name = name;
		m_bandName = bandName;

	}

	public String getAlbumName()
	{
		return m_name;

	}

	public String getBandName()
	{
		return m_bandName;

	}

	public void renameAlbum(String newName)
	{
		m_name = newName;

	}

	public void AddSong(Song song)
	{
		songs.add(song);

	}

	public Iterator<Song> getSongs()
	{
		return songs.iterator();

	}

	

}